package com.yufei.entity;

import org.springframework.data.mongodb.core.index.Indexed;
/**
 * @author jasstion
 * 
 * 上午9:57:35
 * 特价商品
 */
/*@ExcelFieldOrder(fieldOrders="name,price,discount,endTime,orderedNumber,pictureName")
@ExcelHeaders(headers="商品名称,原价,折扣,到期日期,已售,照片文件名称")*/
public class Sp {
private String catalogId;
private Integer orderedNumber;
@Indexed(unique=false)
private String spName=null;
private Double oprice=null;
private String shopName=null;
private Integer reviewCount;
public Integer getReviewCount() {
	return reviewCount;
}
public void setReviewCount(Integer reviewCount) {
	this.reviewCount = reviewCount;
}
private Double price;
private Double discount;
//商品链接地址
private String pictureUrl;
private Long endTime;

/**
 * 搜索优先级
 */
private Integer  priority=null;	
	/**
	 * 是否被显示（前台）
	 */
	private Boolean isDisplayed=false;
	public Boolean getIsDisplayed() {
		return isDisplayed;
	}
	public void setIsDisplayed(Boolean isDisplayed) {
		this.isDisplayed = isDisplayed;
	}
	public Integer getOrderedNumber() {
		return orderedNumber;
	}
	public void setOrderedNumber(Integer orderedNumber) {
		this.orderedNumber = orderedNumber;
	}
	public String getSpName() {
		return spName;
	}
	public void setSpName(String spName) {
		this.spName = spName;
	}

public Long getEndTime() {
	return endTime;
}
public void setEndTime(Long endTime) {
	this.endTime = endTime;
}
public String getShopName() {
	return shopName;
}
public void setShopName(String shopName) {
	this.shopName = shopName;
}
public Integer getPriority() {
	return priority;
}
public void setPriority(Integer priority) {
	this.priority = priority;
}
public Sp() {
	super();
	// TODO Auto-generated constructor stub
}


public Double getPrice() {
	return price;
}
public void setPrice(Double price) {
	this.price = price;
}
public Double getOprice() {
	return oprice;
}
public void setOprice(Double oprice) {
	this.oprice = oprice;
}
public Double getDiscount() {
	return discount;
}
public void setDiscount(Double discount) {
	this.discount = discount;
}
public String getCatalogId() {
	return catalogId;
}
public void setCatalogId(String catalogId) {
	this.catalogId = catalogId;
}
public String getPictureUrl() {
	return pictureUrl;
}
public void setPictureUrl(String pictureUrl) {
	this.pictureUrl = pictureUrl;
}





}
